package com.ss.android.messagebus;

import java.lang.ref.Reference;
import java.lang.ref.WeakReference;
import java.lang.reflect.Method;

public final class e {
    public Reference a;
    public Method b;
    public ThreadMode c;

    public e(Object arg2, g arg3) {
        this.a = new WeakReference(arg2);
        this.b = arg3.a;
        this.c = arg3.b;
    }

    public final boolean equals(Object arg5) {
        boolean v0 = true;
        if(this != (((e)arg5))) {
            if(arg5 == null) {
                v0 = false;
            }
            else if(this.getClass() != arg5.getClass()) {
                v0 = false;
            }
            else {
                if(this.a.get() == null) {
                    if(((e)arg5).a.get() != null) {
                        return false;
                    }
                }
                else if(!this.a.get().equals(((e)arg5).a.get())) {
                    return false;
                }

                if(this.b == null) {
                    if(((e)arg5).b == null) {
                        return v0;
                    }

                    return false;
                }

                if(this.b.equals(((e)arg5).b)) {
                    return v0;
                }

                v0 = false;
            }
        }

        return v0;
    }

    public final int hashCode() {
        int v1 = 0;
        int v0 = this.a == null ? 0 : this.a.hashCode();
        v0 = (v0 + 31) * 31;
        if(this.b != null) {
            v1 = this.b.hashCode();
        }
        return v0 + v1;
    }
}

